require.config({
	paths:{
		'backbone':'./libs/backbone',
		'underscore':'./libs/underscore',
		'jquery':'./libs/jquery',
		'text':'./libs/text',
		'css':'./libs/css',
		'router':'./router',
		'homejs':'./home/js/homejs',
		'sscsjs':'./sscs/js/sscsjs',
		'buyboxjs':'./buybox/js/buyboxjs',
		'minejs':'./mine/js/minejs',
		'cookie':'./libs/cookie',
		'jweixin':'./libs/jweixin-1.0.0',
		'finger':'./libs/finger',
		'sha1':'./libs/sha1',
		'errorjs':'./error/js/errorjs'
	}
})



require(['router','homejs','jquery'],function (router,homejs,$) {
		router.rout();

		window.onbeforeunload=function (e) {
				// console.log(document.body);
				// document.body.style.backgroundColor="yellow";
				// $('#shouye').trigger('click');
				// return flase;

			}

});
